
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <%@include file="/static/common/common.jsp"%>
    <script src="/static/js/system/layout/followStudent.js"></script>
    <title>学员跟踪</title>
</head>
<body>
<table id="followStudent_dataGrid"></table>

<div id="followStudent_toolbar">
    <a href="#" class="easyui-linkbutton" data-options="plain:true" data-cmd="show" onclick="show()">查看</a>
    <a href="#" class="easyui-linkbutton" data-options="plain:true" data-cmd="add">新增</a>
    <a href="#" class="easyui-linkbutton" data-options="plain:true" data-cmd="edit">编辑</a>
    <a href="#" class="easyui-linkbutton" data-options="plain:true" data-cmd="remove">删除</a>
    <a href="#" class="easyui-linkbutton" data-options="plain:true" data-cmd="reload">刷新</a>
    <a href="#" class="easyui-linkbutton" data-options="plain:true" data-cmd="audit">审核</a>
    关键字:
    <input class="easyui-textbox" style="width:120px" prompt="客户姓名/电话/QQ" id="keyword">
    跟踪时间:
    <input class="easyui-datebox" style="width:120px" editable="false" id="followTimeBegin">
    -
    <input class="easyui-datebox" style="width:120px" editable="false" id="followTimeEnd">
    跟踪人员:
    <input class="easyui-combobox " style="width:150px" editable="false" id="followPerson"
           data-options="url:'/employee/queryEmployeeListByDepartmentId?id=3',
                              valueField:'id', textField:'realname',panelHeight:'auto'" >
    状态:
    <input class="easyui-combobox " style="width:150px" id="state"
           data-options="data:[{value:0,text:'未审核'},{value:1,text:'已审核'}]
                                           ,valueField:'value', textField:'text',panelHeight:'auto'" >
    <a href="#" class="easyui-linkbutton" data-options="plain:true" data-cmd="query">搜索</a>
</div>




<%--跟踪编辑对话框--%>
<div id="followStudent_dialog">
    <form id="followStudent_form" method="POST" style="padding:20px">
        <input id="followStudentId" type="hidden" name="id">
        <fieldset>
            <legend>基本信息</legend>
            <table align="center">
                <tr>
                    <td>客户姓名:</td>
                    <td><input id="potentialcustomerName" class="easyui-combobox" style="width:150px" name="potentialcustomer.id"
                               data-options="url:'/potentialCustomer/queryAllPotentialCustomer',
                              valueField:'id', textField:'name',panelHeight:'auto'">
                    </td>
                    <td>电话:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="potentialcustomer.phone" ></td>
                    <td>QQ:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="potentialcustomer.qq" ></td>
                </tr>
                <tr>
                    <td>邮箱:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="potentialcustomer.email" ></td>
                    <td>营销人员:</td>
                    <td><input class="easyui-combobox com" style="width:150px" editable="false" name="potentialcustomer.marketingPerson.id"
                               data-options="url:'/employee/queryEmployeeListByDepartmentId?id=3',
                              valueField:'id', textField:'realname',panelHeight:'auto'" >
                    </td>
                    <td>跟踪人员:</td>
                    <td><input class="easyui-textbox" style="width:150px" editable="false" readonly="true" prompt="跟踪人员不用填" name="follow" >
                    </td>
                </tr>
                <tr>
                    <td>意向校区:</td>
                    <td><input class="easyui-combobox com" style="width:150px" editable="false" name="potentialcustomer.intentionCampus.id"
                               data-options="url:'/systemDictionary/queryDictionaryBillByParentId?pId=12',
                               valueField:'id', textField:'name',panelHeight:'auto'" >
                    </td>
                    <td>意向班级:</td>
                    <td><input class="easyui-combobox com" style="width:150px" editable="false" name="potentialcustomer.intentionClass.id"
                               data-options="url:'/grade/queryAllGrade',
                               valueField:'id', textField:'name',panelHeight:'auto'" >
                    </td>
                    <td>意向程度:</td>
                    <td><input class="easyui-combobox com" style="width:150px" editable="false" name="potentialcustomer.intentionDegree.id"
                               data-options="url:'/systemDictionary/queryDictionaryBillByParentId?pId=16',
                              valueField:'id', textField:'name',panelHeight:'auto'" >
                    </td>
                </tr>
                <tr>
                    <td>跟踪时间:</td>
                    <td><input class="easyui-datebox" style="width:150px" editable="false" readonly="true" prompt="跟踪时间不用填" name="followTime"></td>
                    <td>交流目的:</td>
                    <td><input class="easyui-combobox com" style="width:150px" editable="false" name="talkPurpose.id"
                               data-options="url:'/systemDictionary/queryDictionaryBillByParentId?pId=22',
                              valueField:'id', textField:'name',panelHeight:'auto'" >
                    </td>
                    <td>交流方式:</td>
                    <td><input class="easyui-combobox com" style="width:150px" editable="false" name="talkMode.id"
                               data-options="url:'/systemDictionary/queryDictionaryBillByParentId?pId=21',
                              valueField:'id', textField:'name',panelHeight:'auto'" >
                    </td>
                </tr>
                <tr>
                    <td>交流时长:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="talkTime"></td>
                    <td>第几次跟踪:</td>
                    <td><input class="easyui-textbox" style="width:150px" readonly="true" name="followNumber"></td>
                    <td>下次跟踪时间:</td>
                    <td><input class="easyui-datebox date" style="width:150px" editable="false" name="nextFollowTime"></td>
                </tr>
            </table>
        </fieldset>
        <fieldset>
            <legend>其它信息</legend>
            <table align="center">
                <tr>
                    <td>摘要:</td>
                    <td><input class="easyui-textbox text" style="width:600px; height:80px;" multiline=true name="summary"></td>
                </tr>
                <tr>
                    <td>交流内容:</td>
                    <td><input class="easyui-textbox text" style="width:600px; height:100px;" multiline=true name="talkContent"></td>
                </tr>
                <tr>
                    <td>审核说明:</td>
                    <td><input id="showAudit"  class="easyui-textbox text" style="width:600px; height:80px;" multiline=true name="audit"></td>
                </tr>
            </table>
        </fieldset>
    </form>
</div>


<div id="followStudent_dialog_butten">
    <a href="#" class="easyui-linkbutton" data-cmd="save" >保存</a>
    <a href="#" class="easyui-linkbutton" data-cmd="close_dialog" >关闭</a>
</div>





<%--跟踪审核对话框--%>
<div id="followStudent_audit_dialog">
    <form id="followStudent_audit_form" method="POST" style="padding:20px">
        <input type="hidden" name="id">
        <input type="hidden" name="potentialcustomer.id">
        <fieldset>
            <legend>跟踪审核</legend>
            <table align="center">
                <tr>
                    <td>客户姓名:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="potentialcustomer.name"></td>
                    <td>电话:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="potentialcustomer.phone" ></td>
                    <td>QQ:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="potentialcustomer.qq" ></td>
                </tr>
                <tr>
                    <td>意向校区:</td>
                    <td><input class="easyui-combobox com" style="width:150px" editable="false" name="potentialcustomer.intentionCampus.id"
                               data-options="url:'/systemDictionary/queryDictionaryBillByParentId?pId=12',
                               valueField:'id', textField:'name',panelHeight:'auto'" >
                    </td>
                    <td>意向程度:</td>
                    <td><input class="easyui-combobox com" style="width:150px" editable="false" name="potentialcustomer.intentionDegree.id"
                               data-options="url:'/systemDictionary/queryDictionaryBillByParentId?pId=16',
                              valueField:'id', textField:'name',panelHeight:'auto'" >
                    </td>
                    <td>跟踪人员:</td>
                    <td><input class="easyui-textbox" style="width:150px" editable="false" readonly="true" prompt="跟踪人员不用填" name="follow" >
                    </td>
                </tr>
                <tr>
                    <td>交流目的:</td>
                    <td><input class="easyui-combobox com" style="width:150px" editable="false" name="talkPurpose.id"
                               data-options="url:'/systemDictionary/queryDictionaryBillByParentId?pId=22',
                              valueField:'id', textField:'name',panelHeight:'auto'" >
                    </td>
                    <td>交流方式:</td>
                    <td><input class="easyui-combobox com" style="width:150px" editable="false" name="talkMode.id"
                               data-options="url:'/systemDictionary/queryDictionaryBillByParentId?pId=21',
                              valueField:'id', textField:'name',panelHeight:'auto'" >
                    </td>
                    <td>第几次跟踪:</td>
                    <td><input class="easyui-textbox" style="width:150px" readonly="true" name="followNumber"></td>
                </tr>
                <tr>
                    <td>跟踪时间:</td>
                    <td><input class="easyui-datebox" style="width:150px" editable="false" readonly="true" prompt="跟踪时间不用填" name="followTime"></td>
                    <td>交流时长:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="talkTime"></td>
                    <td>下次跟踪时间:</td>
                    <td><input class="easyui-datebox date" style="width:150px" editable="false" name="nextFollowTime"></td>
                </tr>
            </table>
        </fieldset>
        <fieldset>
            <legend>交流内容</legend>
            <table align="center">
                <tr>
                    <td>交流内容:</td>
                    <td><input class="easyui-textbox text" style="width:600px; height:100px;" multiline=true name="talkContent"></td>
                </tr>
            </table>
        </fieldset>
        <fieldset>
            <legend>审核</legend>
            <table align="center">
                <tr>
                    <td>审核说明:</td>
                    <td><input class="easyui-textbox" style="width:600px; height:100px;" multiline=true name="audit"></td>
                </tr>
            </table>
        </fieldset>
    </form>
</div>

<div id="followStudent_audit_dialog_butten">
    <a href="#" class="easyui-linkbutton" data-cmd="audit_save" >保存</a>
    <a href="#" class="easyui-linkbutton" data-cmd="close_audit_dialog" >关闭</a>
</div>




</body>
</html>
